package com.czytqg.auth.application.convert;

import com.czytqg.auth.application.dto.AuthUserDTO;
import com.czytqg.auth.domain.entity.AuthUserBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;


/**
 * 用户dto转换器
 *
 * @Author:  CZY
 * @date:  2024/8/4 21:58
 */
@Mapper
public interface AuthUserDTOConverter {

    AuthUserDTOConverter INSTANCE = Mappers.getMapper(AuthUserDTOConverter.class);

    AuthUserBO convertDTOToBO(AuthUserDTO authUserDTO);

    AuthUserDTO convertBOToDTO(AuthUserBO authUserBO);

}
